/*******************************************************************
 File:     testjfp
 Purpose:  Testing JFPatch code
 Author:   Justin Fletcher
 Date:     08 Apr 1997
 ******************************************************************/

#include "memory.h"
#include "fileio.h"

int testcode(int c1,int c2)
{
  return c1+c2;
}

void *command(void)
{
  int *a=malloc(256);
  a[0]=65;
  return a;
}

void moretest(void)
{
  FILE *file;
  int ch;

  file=fopen("$.tst","r");
  if (file==0) return;
  while ((ch=fgetc(file))!=EOF)
  {
    putc(ch);
  }
  fclose(file);
}
